
TARGET = ProfilerManager
TEMPLATE = lib
QT += core xml

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += plugin
CONFIG(release, release|debug): {
    DESTDIR = ../Release
}
else: {
    DESTDIR = ../Debug
}

DEFINES += QT_XML_LIB PROFILERMANAGER_LIB QT_DLL
INCLUDEPATH += ../Utils

CONFIG(release, release|debug): {
    LIBS += -L'../Release' -lUtils
}
else: {
    LIBS += -L'../Debug' -lUtils
}

PRECOMPILED_HEADER = stdafx.h

HEADERS += ./iplugin.h \
    ./profilermanager.h \
    ./stdafx.h
	
SOURCES += ./profilermanager.cpp \
    ./stdafx.cpp

win32 {
    greaterThan(QT_MAJOR_VERSION, 4): {
    LIBS += -L$$PWD/'../Visual Leak Detector/lib/Win64/' -lvld
    INCLUDEPATH += $$PWD/'../Visual Leak Detector/lib/Win64'
    INCLUDEPATH += $$PWD/'../Visual Leak Detector/include'
    DEPENDPATH += $$PWD/'../Visual Leak Detector/lib/Win64'
    } else: {
    LIBS += -L$$PWD/'../Visual Leak Detector/lib/Win32/' -lvld
    INCLUDEPATH += $$PWD/'../Visual Leak Detector/lib/Win32'
    INCLUDEPATH += $$PWD/'../Visual Leak Detector/include'
    DEPENDPATH += $$PWD/'../Visual Leak Detector/lib/Win32'
    }
}
